const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  sex: state => state.user.sex,
  id: state => state.user.id,
  enter_id: state => state.user.enter_id,
  enter_name: state => state.user.enter_name,
  enter_type: state => state.user.enter_type,
  type: state => state.user.type,
  hire_date: state => state.user.hire_date,
  permission_routes: state => state.permission.routes
}
export default getters
